package com.zdy.im.user.dto.response;


import java.io.Serializable;

import com.sixeco.framework.common.api.ApiDesc;
import com.sixeco.framework.common.data.BaseEntity;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;


/**
* @ClassName: ImRoomUserShipResponseDto.java
* @Description: 群与用户关系的数据交互处理类
 * @Author 作者 : zdy
 * @CreateDate 创建时间: 2021-02-30
* @version V1.0.0
* <p>
* ----------------------------------------------------------------------------
*  modifyer    modifyTime                 comment
*
* ----------------------------------------------------------------------------
* </p>
*/
public class ImRoomUserShipResponseDto  extends BaseEntity implements Serializable {

        private Logger logger = LoggerFactory.getLogger(ImRoomUserShipResponseDto.class);




 		/** status 删除状态(1-正常,0-已删除)  */
 		@ApiDesc(value = "删除状态(1-正常,0-已删除)", required = 0)
 		private int status;

 		/** roomId 群id  */
 		@ApiDesc(value = "群id", required = 0)
 		private long roomId;

 		/** userId 用户id  */
 		@ApiDesc(value = "用户id", required = 0)
 		private long userId;

 		/** nickName 用户群昵称/备注昵称  */
 		@ApiDesc(value = "用户群昵称/备注昵称", required = 0)
 		private String nickName;

 		/** userRole 类型 0 用户，1.管理员，99.群主   */
 		@ApiDesc(value = "类型 0 用户，1.管理员，99.群主 ", required = 0)
 		private int userRole;

 		/** roomSet 群设置 0不接受消息 1接收消息  */
 		@ApiDesc(value = "群设置 0不接受消息 1接收消息", required = 0)
 		private int roomSet;

 		/** remarks 群备注  */
 		@ApiDesc(value = "群备注", required = 0)
 		private String remarks;
		@ApiDesc(value = "群员禁言(1-已禁言,0-未禁言)", required = 0)
		private int forbidSpeech;

        public static ImRoomUserShipResponseDto build(){
                return new ImRoomUserShipResponseDto();
        }

 		public void setStatus( int status){
 		 		this.status = status ; 
 		 		}
 		public ImRoomUserShipResponseDto toStatus( int status){
 		 		this.status = status ; 
 		 		 return this ;
 		}

 		public int getStatus(){
 		 		return this.status;
 		}
 		public void setRoomId( long roomId){
 		 		this.roomId = roomId ; 
 		 		}
 		public ImRoomUserShipResponseDto toRoomId( long roomId){
 		 		this.roomId = roomId ; 
 		 		 return this ;
 		}

 		public long getRoomId(){
 		 		return this.roomId;
 		}
 		public void setUserId( long userId){
 		 		this.userId = userId ; 
 		 		}
 		public ImRoomUserShipResponseDto toUserId( long userId){
 		 		this.userId = userId ; 
 		 		 return this ;
 		}

 		public long getUserId(){
 		 		return this.userId;
 		}
 		public void setNickName( String nickName){
 		 		this.nickName = nickName ; 
 		 		}
 		public ImRoomUserShipResponseDto toNickName( String nickName){
 		 		this.nickName = nickName ; 
 		 		 return this ;
 		}

 		public String getNickName(){
 		 		return this.nickName;
 		}
 		public void setUserRole( int userRole){
 		 		this.userRole = userRole ; 
 		 		}
 		public ImRoomUserShipResponseDto toUserRole( int userRole){
 		 		this.userRole = userRole ; 
 		 		 return this ;
 		}

 		public int getUserRole(){
 		 		return this.userRole;
 		}
 		public void setRoomSet( int roomSet){
 		 		this.roomSet = roomSet ; 
 		 		}
 		public ImRoomUserShipResponseDto toRoomSet( int roomSet){
 		 		this.roomSet = roomSet ; 
 		 		 return this ;
 		}

 		public int getRoomSet(){
 		 		return this.roomSet;
 		}
 		public void setRemarks( String remarks){
 		 		this.remarks = remarks ; 
 		 		}
 		public ImRoomUserShipResponseDto toRemarks( String remarks){
 		 		this.remarks = remarks ; 
 		 		 return this ;
 		}

 		public String getRemarks(){
 		 		return this.remarks;
 		}


		public ImRoomUserShipResponseDto toForbidSpeech(int forbidSpeech) {
			this.forbidSpeech = forbidSpeech;
			return this;
		}

		public int getForbidSpeech() {
			return forbidSpeech;
		}

		public void setForbidSpeech(int forbidSpeech) {
			this.forbidSpeech = forbidSpeech;
		}





}
